<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>融资管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/hhx/hhxFinance/">融资列表</a></li>
		<shiro:hasPermission name="hhx:hhxFinance:edit"><li><a href="${ctx}/hhx/hhxFinance/form">融资添加</a></li></shiro:hasPermission>
	</ul>
	<form:form id="searchForm" modelAttribute="hhxFinance" action="${ctx}/hhx/hhxFinance/" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<ul class="ul-form">
			<li><label>行业分类：</label>
				<form:input path="trade" htmlEscape="false" maxlength="20" class="input-medium"/>
			</li>
			<li><label>项目简况：</label>
				<form:input path="description" htmlEscape="false" maxlength="255" class="input-medium"/>
			</li>
			<li><label>年份1：</label>
				<form:input path="year1" htmlEscape="false" maxlength="5" class="input-medium"/>
			</li>
			<li><label>银业收入1：</label>
				<form:input path="income1" htmlEscape="false" maxlength="10" class="input-medium"/>
			</li>
			<li><label>净利润1：</label>
				<form:input path="profit1" htmlEscape="false" maxlength="10" class="input-medium"/>
			</li>
			<li><label>年份2：</label>
				<form:input path="year2" htmlEscape="false" maxlength="5" class="input-medium"/>
			</li>
			<li><label>银业收入2：</label>
				<form:input path="income2" htmlEscape="false" maxlength="10" class="input-medium"/>
			</li>
			<li><label>净利润2：</label>
				<form:input path="profit2" htmlEscape="false" maxlength="10" class="input-medium"/>
			</li>
			<li><label>资本规划：</label>
				<form:input path="plan" htmlEscape="false" maxlength="20" class="input-medium"/>
			</li>
			<li><label>融资类型：</label>
				<form:input path="type" htmlEscape="false" maxlength="20" class="input-medium"/>
			</li>
			<li><label>指定机构：</label>
				<form:input path="organization" htmlEscape="false" maxlength="20" class="input-medium"/>
			</li>
			<li><label>是否并购0-否1-是：</label>
				<form:input path="ismerge" htmlEscape="false" maxlength="2" class="input-medium"/>
			</li>
			<li><label>商业企划书：</label>
				<form:input path="bookurl" htmlEscape="false" maxlength="50" class="input-medium"/>
			</li>
			<li><label>其他：</label>
				<form:input path="extra" htmlEscape="false" maxlength="20" class="input-medium"/>
			</li>
			<li><label>提出人id：</label>
				<form:input path="userid" htmlEscape="false" maxlength="32" class="input-medium"/>
			</li>
			<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
			<li class="clearfix"></li>
		</ul>
	</form:form>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>行业分类</th>
				<th>项目简况</th>
				<th>年份1</th>
				<th>银业收入1</th>
				<th>净利润1</th>
				<th>年份2</th>
				<th>银业收入2</th>
				<th>净利润2</th>
				<th>资本规划</th>
				<th>融资类型</th>
				<th>指定机构</th>
				<th>是否并购0-否1-是</th>
				<th>商业企划书</th>
				<th>其他</th>
				<th>提出人id</th>
				<shiro:hasPermission name="hhx:hhxFinance:edit"><th>操作</th></shiro:hasPermission>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="hhxFinance">
			<tr>
				<td><a href="${ctx}/hhx/hhxFinance/form?id=${hhxFinance.id}">
					${hhxFinance.trade}
				</a></td>
				<td>
					${hhxFinance.description}
				</td>
				<td>
					${hhxFinance.year1}
				</td>
				<td>
					${hhxFinance.income1}
				</td>
				<td>
					${hhxFinance.profit1}
				</td>
				<td>
					${hhxFinance.year2}
				</td>
				<td>
					${hhxFinance.income2}
				</td>
				<td>
					${hhxFinance.profit2}
				</td>
				<td>
					${hhxFinance.plan}
				</td>
				<td>
					${hhxFinance.type}
				</td>
				<td>
					${hhxFinance.organization}
				</td>
				<td>
					${hhxFinance.ismerge}
				</td>
				<td>
					${hhxFinance.bookurl}
				</td>
				<td>
					${hhxFinance.extra}
				</td>
				<td>
					${hhxFinance.userid}
				</td>
				<shiro:hasPermission name="hhx:hhxFinance:edit"><td>
    				<a href="${ctx}/hhx/hhxFinance/form?id=${hhxFinance.id}">修改</a>
					<a href="${ctx}/hhx/hhxFinance/delete?id=${hhxFinance.id}" onclick="return confirmx('确认要删除该融资吗？', this.href)">删除</a>
				</td></shiro:hasPermission>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>